//
//  SNOrientationMoviePlayerController.m
//  DayDayHappy
//
//  Created by yutao on 14-3-10.
//  Copyright (c) 2014年 yutao. All rights reserved.
//

#import "SNAutorotateMoviePlayerController.h"

@implementation SNAutorotateMoviePlayerController

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}

-(NSUInteger)supportedInterfaceOrientations
{
    return UIInterfaceOrientationMaskAllButUpsideDown;
}

-(BOOL)shouldAutorotate
{
    return YES;
}

@end
